package com.cloudfun.campusshare.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * Created by Huqin on 2020/5/11
 */
@Data
@ApiModel("设备模式集创建DTO")
public class DeviceModeSetCreateDTO extends BaseDeviceModeSetDTO{

    @ApiModelProperty("模式")
    @NotEmpty(message = "模式不能为空", groups = Create.class)
    private List<DeviceModeCreateDTO> modes;

}
